package com.example.tms.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import java.util.UUID;

@IdClass(PermsViewId.class)
@Table(name = "role_perms")
@Entity
public class RolePerms {
    @Id
    private String jsid;
    @Id
    private String qxid;

    public RolePerms(){}

    public RolePerms(String jsid, String qxid){
        this.jsid = jsid;
        this.qxid = qxid;
    }

    public String getJsid() {
        return jsid;
    }

    public void setJsid(String jsid) {
        this.jsid = jsid;
    }

    public String getQxid() {
        return qxid;
    }

    public void setQxid(String qxid) {
        this.qxid = qxid;
    }
}
